package rfc;


public class Message extends Master {
	private static final long serialVersionUID = 1L;
	
	private static int type=4;
	String message;
	String receiver;
	String sender;
	int id;
	
	public Message(String message, String receiver)
	{
		super(type);
		this.message = message;
		this.receiver = receiver;
	}
	
	public String getMessage(){
		return this.message;
	}
	
	public void setReceiver(String receiver)
	{
		this.receiver = receiver;
	}
	
	public String getReceiver(){
		return this.receiver;
	}
	
	public void setSender(String sender)
	{
		this.sender = sender;
	}
	
	public String getSender(){
		return this.sender;
	}
	
	public void setID(int id)
	{
		this.id = id;
	}
	
	public int getID(){
		return this.id;
	}
 	      
      
}